import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';

const routes: Routes = [
  {
    path: 'template',
    loadChildren: './tpl-template/tpl-template.module#TplTemplateModule'
  },
  {
    path: 'metaTemplate',
    loadChildren: './meta-template/meta-template.module#MetaTemplateModule'
  },
  {
    path: 'dataSource',
    loadChildren: './data-source/data-source.module#DataSourceModule'
  },
  {
    path: 'metaDataTemplate',
    loadChildren: './meta-data-template/meta-data-template.module#MetaDataTemplateModule'
  },
  {
    path: 'dataTemplate',
    loadChildren: './data-template/data-template.module#DataTemplateModule'
  }
];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule]
})
export class TplRoutingModule { }
